<div id="layout_main_top">

</div>
<div id="layout_main">




{if !isset($errormessage)}


<form action="index.php?page=administration" method="post">
<INPUT TYPE=HIDDEN NAME="action" value="checkevent">
  <table id="small_table" cellspacing='0'>
    <tr class="menu_header">
  	<th colspan='2'>
  	Updating Raid RP
  	</th>
  	</tr>
  	
  	<tr class="row_1">
	<td colspan='2' class="staticboldcenter">
	Please copy/paste the event list from the forum:<br><span class="error">{$errormessage}</span><br>
	</td>
	</tr>
  	<tr class="row_1">
		<td class="autonormal"  colspan="2">
		<br>
		</td>
	</tr>
 	<tr class="row_1">
		<td class="autonormal"  colspan="2">
		<textarea rows="13" cols="55" name="event"></textarea>
		</td>
	</tr>
	<tr class="row_1">

		<br>
		</td>
	</tr>
	<tr class="row_1">
		<td class="autonormal"  colspan="2">
		<br>
		</td>
	</tr>
  	<tr class="row_1">
		<td class="autonormal"  colspan="2">
		<select name="raid" class="large">
			{foreach name=previous_raids item=cur_raid from=$previous_raids}		
				<option value="{$cur_raid.raid_id}" {if $cur_raid.raid_id eq $selected_raid}SELECTED{/if}>{$cur_raid.date_time|date_format:"%a %d/%m/%y"} - {$cur_raid.event_name}</option>
			{/foreach}
				<option value="0">Raid was not added on website</option>
		</select>
		</td>
	</tr>
	<tr class="row_1">
		<td class="staticboldcenter" colspan="2">
		<br>
		<input name="newraid" type="submit" value="Update RP">
		</td>
	</tr>
	</table>
</form>
{else}


<DIV class="MenuHead">
Succesfull!
</DIV>

<DIV class="MenuText">
{$message}
</DIV>




{/if}
</div>
<div id="layout_main_bottom">

</div>